using System;
namespace F1010DB.Entity
{
	public class UserTypePermissionByTable
	{

		 private string idkey;
		 public string Idkey
		{
			 get { return idkey; }
			 set { idkey = value; }
		}

		 private string groupId;
		 public string GroupId
		{
			 get { return groupId; }
			 set { groupId = value; }
		}

		 private string tableId;
		 public string TableId
		{
			 get { return tableId; }
			 set { tableId = value; }
		}

		 private bool read;
		 public bool Read
		{
			 get { return read; }
			 set { read = value; }
		}

		 private bool update;
		 public bool Update
		{
			 get { return update; }
			 set { update = value; }
		}

		 private bool delete;
		 public bool Delete
		{
			 get { return delete; }
			 set { delete = value; }
		}

		 private bool insert;
		 public bool Insert
		{
			 get { return insert; }
			 set { insert = value; }
		}

		 private bool active;
		 public bool Active
		{
			 get { return active; }
			 set { active = value; }
		}

		public UserTypePermissionByTable() {}
		public UserTypePermissionByTable(
			string idkey,string groupId,string tableId,bool read,bool update,
			bool delete,bool insert,bool active)
		{
			this.idkey = idkey;
			this.groupId = groupId;
			this.tableId = tableId;
			this.read = read;
			this.update = update;
			this.delete = delete;
			this.insert = insert;
			this.active = active;
		}
	}
}